export default [
  {
    path: '/',
    redirect: '/app/home',
  },
  {
    path: '/app',
    component: '@/pages/index',
    routes: [
      {
        path: 'home',
        component: '@/pages/home/index'
      },
      {
        path: 'cast',
        component: '@/pages/cast/index'
      },
      {
        path: 'question',
        component: '@/pages/question/index'
      },
      {
        path: 'my',
        component: '@/pages/my/index'
      },

    ]
  },

  {
    path: '/login',
    component: '@/pages/login/index'
  },
  {
    path: '/my-info',//个人详情页
    component: '@/pages/my/my-Information/index'
  },
  {
    path: '/my-update-name',//修改昵称-页
    component: '@/pages/my/my-UpdateName/index'
  },
  {
    path: '/my-update-password',//修改密码
    component: '@/pages/my/my-UpdatePassword/index'
  },
  {
    path: '/my-database',//我的题库
    component: '@/pages/my/my-database/index'
  },
  {
    path: '/my-course',//我的课程
    component: '@/pages/my/my-course/index'
  },
  {
    path: '/my-course-Detail',//课程详情
    component: '@/pages/my/my-CourseDetail/index'
  },
  {
    path: '/my-course-play',//课程视频播放
    component: '@/pages/my/my-coursePlayback/index'
  },
  {
    path: '/orderpending', //订单详情-待支付
    component: '@/pages/my/orderpending/index'
  },
  {
    path: '/completed', //订单详情-已完成
    component: '@/pages/my/ordercompleted/index'
  },
  {
    path: '/closed', //订单详情-已完成
    component: '@/pages/my/orderclosed/index'
  },
  {
    path: '/lishi',
    component: '@/pages/wzcmy/lishi/index'
  },
  {
    path:'/lishi',//历年真题
    component:'@/pages/wzcmy/lishi/index'
  },
  {
    path:'/moni',//模拟预测
    component:'@/pages/wzcmy/moni/index'
  },
  {
    path:'/yati',//押题密卷
    component:'@/pages/wzcmy/yati/index'
  },
  {
    path:'/cuoti',//我的错题
    component:'@/pages/wzcmy/cuoti/index'
  },
  {
    path:'/shoucang',//我的收藏
    component:'@/pages/wzcmy/shoucang/index'
  },
  {
    path:'/cuotibang',//错题榜
    component:'@/pages/wzcmy/cuotibang/index'
  },
  {
    path:'/shoucangbang',//收藏榜
    component:'@/pages/wzcmy/shoucangbang/index'
  },
  {
    path:'/tijiao',
    component:'@/pages/home/gyq/querendingdan'
  },
  {
    path:'/tijiao',
    component:'@/pages/home/gyq/querendingdan'
  },
  {
    path : '/login',
    component : '@/pages/login/index'
  }
];
